From 7775a195d9c417e52eaaf912ec51d62bf0fd9a54 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 15:14:39 +0000 Subject: Move remaining functions: operstrcmp* commands.cpp InspIRCd::operstrcmp() duration* commands.cpp InspIRCd::duration() host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone() ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone() nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_nokicks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_nokicks.cpp') diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp index 654d40be8..656e5d0a8 100644 --- a/src/modules/m_nokicks.cpp +++ b/src/modules/m_nokicks.cpp @@ -86,7 +86,7 @@ class ModuleNoKicks : public Module { if (channel->IsModeSet('Q')) { - if ((ServerInstance->IsUlined(source->nick)) || (ServerInstance->IsUlined(source->server)) || (!strcmp(source->server,""))) + if ((ServerInstance->is_uline(source->nick)) || (ServerInstance->is_uline(source->server)) || (!*source->server)) { // ulines can still kick with +Q in place return ACR_ALLOW; -- cgit v1.2.3