summaryrefslogtreecommitdiff
path: root/modules/commands/os_svsnick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_svsnick.cpp')
-rw-r--r--modules/commands/os_svsnick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_svsnick.cpp b/modules/commands/os_svsnick.cpp
index aeaa38a59..4c6329acb 100644
--- a/modules/commands/os_svsnick.cpp
+++ b/modules/commands/os_svsnick.cpp
@@ -81,7 +81,7 @@ class OSSVSNick : public Module
{
this->SetAuthor("Anope");
- if (!ircd || !ircd->svsnick)
+ if (!ircdproto || !ircdproto->CanSVSNick)
throw ModuleException("Your IRCd does not support SVSNICK");
}