]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_saquit.cpp
Auto loading of commands as shared objects via dlsym (very lightweight interface...
[user/henk/code/inspircd.git] / src / modules / m_saquit.cpp
index 2bb30be301281464d5cdff0e09c6c3bdcfd3792b..1152a2ea28f4d9b9816335b1794494fdb6da4147 100644 (file)
@@ -36,7 +36,7 @@ using namespace std;
 /* $ModDesc: Provides support for an SAQUIT command, exits user with a reason */
 
 
-extern InspIRCd* ServerInstance;
+
 
 class cmd_saquit : public command_t
 {
@@ -52,7 +52,7 @@ class cmd_saquit : public command_t
                userrec* dest = ServerInstance->FindNick(parameters[0]);
                if (dest)
                {
-                       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;