From 89428a9d1032e3c2a6e397629a32862b3e58d708 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 1 Oct 2012 01:56:57 -0400 Subject: Cleanup of all of the protocol modules, rewrote message handling system to be a bit more C++ ish --- modules/commands/os_svsnick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/os_svsnick.cpp') 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"); } -- cgit