]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sapart.cpp
All modules which implement simplemodes (no parameters, not a list mode) can now...
[user/henk/code/inspircd.git] / src / modules / m_sapart.cpp
index 43ab4b578262020688f6a3041361750c989bbf48..98178c46a5c6f967e56d1b22c303db02307dc1b0 100644 (file)
@@ -21,7 +21,7 @@ using namespace std;
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
-#include "helperfuncs.h"
+
 #include "inspircd.h"
 
 /* $ModDesc: Provides support for unreal-style SAPART command */
@@ -44,7 +44,7 @@ class cmd_sapart : public command_t
                chanrec* channel = ServerInstance->FindChan(parameters[1]);
                if (dest && channel)
                {
-                       if (ServerInstance->IsUlined(dest->server))
+                       if (ServerInstance->ULine(dest->server))
                        {
                                user->WriteServ("990 %s :Cannot use an SA command on a u-lined client",user->nick);
                                return;