summaryrefslogtreecommitdiff
path: root/modules/commands/ns_group.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-08-12 15:45:50 -0400
committerAdam <Adam@anope.org>2013-08-12 15:45:50 -0400
commitde5c8c0d386375c46d812c5843a5bb5a850ee865 (patch)
treed2e7834cbe85a56505ee63d22609c79b0ac5af55 /modules/commands/ns_group.cpp
parent8e011bbb783df2c646f479e7b02989f9165ed7c1 (diff)
Fix some issues with suspend
Diffstat (limited to 'modules/commands/ns_group.cpp')
-rw-r--r--modules/commands/ns_group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp
index 160980bc9..26f267c6d 100644
--- a/modules/commands/ns_group.cpp
+++ b/modules/commands/ns_group.cpp
@@ -117,7 +117,7 @@ class CommandNSGroup : public Command
source.Reply(NICK_X_NOT_REGISTERED, nick.c_str());
else if (Anope::CurTime < u->lastnickreg + reg_delay)
source.Reply(_("Please wait %d seconds before using the GROUP command again."), (reg_delay + u->lastnickreg) - Anope::CurTime);
- else if (target->nc->HasExt("SUSPENDED"))
+ else if (target->nc->HasExt("NS_SUSPENDED"))
{
Log(LOG_COMMAND, source, this) << "tried to use GROUP for SUSPENDED nick " << target->nick;
source.Reply(NICK_X_SUSPENDED, target->nick.c_str());