diff options
author | Adam <Adam@anope.org> | 2013-08-12 15:45:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-12 15:45:50 -0400 |
commit | de5c8c0d386375c46d812c5843a5bb5a850ee865 (patch) | |
tree | d2e7834cbe85a56505ee63d22609c79b0ac5af55 /modules/commands/ns_cert.cpp | |
parent | 8e011bbb783df2c646f479e7b02989f9165ed7c1 (diff) |
Fix some issues with suspend
Diffstat (limited to 'modules/commands/ns_cert.cpp')
-rw-r--r-- | modules/commands/ns_cert.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/ns_cert.cpp b/modules/commands/ns_cert.cpp index 561f89304..014a31a0d 100644 --- a/modules/commands/ns_cert.cpp +++ b/modules/commands/ns_cert.cpp @@ -144,7 +144,7 @@ class CommandNSCert : public Command return; } - if (nc->HasExt("SUSPENDED")) + if (nc->HasExt("NS_SUSPENDED")) { source.Reply(NICK_X_SUSPENDED, nc->display.c_str()); return; @@ -277,7 +277,7 @@ class CommandNSCert : public Command NickCore *nc = source.nc; - if (source.nc->HasExt("SUSPENDED")) + if (source.nc->HasExt("NS_SUSPENDED")) source.Reply(NICK_X_SUSPENDED, source.nc->display.c_str()); else if (cmd.equals_ci("ADD")) return this->DoAdd(source, nc, mask); @@ -335,7 +335,7 @@ class NSCert : public Module return; if (u->IsIdentified() && u->Account() == na->nc) return; - if (na->nc->HasExt("SUSPENDED")) + if (na->nc->HasExt("NS_SUSPENDED")) return; NSCertList *cl = certs.Get(na->nc); |