summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pseudoclients/global.cpp')
-rw-r--r--modules/pseudoclients/global.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/global.cpp b/modules/pseudoclients/global.cpp
index 611ef7741..62a3d1609 100644
--- a/modules/pseudoclients/global.cpp
+++ b/modules/pseudoclients/global.cpp
@@ -18,7 +18,7 @@ class MyGlobalService : public GlobalService
{
void ServerGlobal(const BotInfo *sender, Server *s, const Anope::string &message)
{
- if (s != Me && !s->HasFlag(SERVER_JUPED))
+ if (s != Me && !s->IsJuped())
s->Notice(sender, message);
for (unsigned i = 0, j = s->GetLinks().size(); i < j; ++i)
this->ServerGlobal(sender, s->GetLinks()[i], message);