]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/rsquit.cpp
Fix typo opermoth -> opermotd. Thanks Ankit.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / rsquit.cpp
index 1b798deb7ee927f25832a81e8c3b2ab68220edc8..9e0dabca6b6fbf01a8679e525b7436f6d307e944 100644 (file)
@@ -15,7 +15,6 @@
 #include "commands/cmd_whois.h"
 #include "commands/cmd_stats.h"
 #include "socket.h"
-#include "wildcard.h"
 #include "xline.h"
 #include "transport.h"
 
 
 /* $ModDep: m_spanningtree/main.h m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/treesocket.h m_spanningtree/rsquit.h */
 
-cmd_rsquit::cmd_rsquit (InspIRCd* Instance, Module* Callback, SpanningTreeUtilities* Util) : Command(Instance, "RSQUIT", "o", 1), Creator(Callback), Utils(Util)
+CommandRSQuit::CommandRSQuit (InspIRCd* Instance, Module* Callback, SpanningTreeUtilities* Util) : Command(Instance, "RSQUIT", "o", 1), Creator(Callback), Utils(Util)
 {
        this->source = "m_spanningtree.so";
        syntax = "<target-server-mask> [reason]";
 }
 
-CmdResult cmd_rsquit::Handle (const std::vector<std::string>& parameters, User *user)
+CmdResult CommandRSQuit::Handle (const std::vector<std::string>& parameters, User *user)
 {
        TreeServer *server_target; // Server to squit
        TreeServer *server_linked; // Server target is linked to
@@ -72,7 +71,7 @@ CmdResult cmd_rsquit::Handle (const std::vector<std::string>& parameters, User *
 }
 
 // XXX use protocol interface instead of rolling our own :)
-void cmd_rsquit::NoticeUser(User* user, const std::string &msg)
+void CommandRSQuit::NoticeUser(User* user, const std::string &msg)
 {
        if (IS_LOCAL(user))
        {