diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_chghost.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_globops.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_helpop.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_knock.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_opermotd.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_randquote.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_remove.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_sajoin.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_samode.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_sanick.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_sapart.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_saquit.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_sethost.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_setname.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_silence.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_testcommand.cpp | 2 |
16 files changed, 16 insertions, 18 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index c1ba262f1..366166e4c 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -51,7 +51,7 @@ class ModuleChgHost : public Module ModuleChgHost() { Srv = new Server; - Srv->AddCommand("CHGHOST",handle_chghost,'o',2); + Srv->AddCommand("CHGHOST",handle_chghost,'o',2,"m_chghost.so"); } virtual ~ModuleChgHost() diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 03c49ca10..5a1a8f7b3 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -50,7 +50,7 @@ class ModuleGlobops : public Module printf("Could not claim usermode +g for this module!"); exit(0); } - Srv->AddCommand("GLOBOPS",handle_globops,'o',1); + Srv->AddCommand("GLOBOPS",handle_globops,'o',1,"m_globops.so"); } virtual ~ModuleGlobops() diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 71b9013e4..dc4f6f614 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -163,7 +163,7 @@ class ModuleHelpop : public Module } // Loads of comments, untill supported properly. - Srv->AddCommand("HELPOP",handle_helpop,0,0); + Srv->AddCommand("HELPOP",handle_helpop,0,0,"m_helpop.so"); } diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp index fb07bcafc..3940a61a6 100644 --- a/src/modules/m_knock.cpp +++ b/src/modules/m_knock.cpp @@ -62,7 +62,7 @@ class ModuleKnock : public Module Srv = new Server; Srv->AddExtendedMode('K',MT_CHANNEL,false,0,0); - Srv->AddCommand("KNOCK",handle_knock,0,2); + Srv->AddCommand("KNOCK",handle_knock,0,2,"m_knock.so"); } virtual void On005Numeric(std::string &output) diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp index ef2ad89e7..06b994c91 100644 --- a/src/modules/m_opermotd.cpp +++ b/src/modules/m_opermotd.cpp @@ -58,7 +58,7 @@ class ModuleOpermotd : public Module { Srv = new Server; - Srv->AddCommand("OPERMOTD",do_opermotd,'o',0); + Srv->AddCommand("OPERMOTD",do_opermotd,'o',0,"m_opermotd.so"); opermotd = new FileReader(); LoadOperMOTD(); diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index d3dfc5a45..1a875e527 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -80,7 +80,7 @@ class ModuleRandQuote : public Module exit(0); } /* Hidden Command -- Mode clients assume /quote sends raw data to an IRCd >:D */ - Srv->AddCommand("QUOTE",handle_randquote,0,0); + Srv->AddCommand("QUOTE",handle_randquote,0,0,"m_randquote.so"); } virtual ~ModuleRandQuote() diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 873bdb25e..d4735081f 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -113,7 +113,7 @@ class ModuleRemove : public Module ModuleRemove() { Srv = new Server; - Srv->AddCommand("REMOVE", handle_remove, 0, 3); + Srv->AddCommand("REMOVE", handle_remove, 0, 3, "m_remove.so"); } virtual void On005Numeric(std::string &output) diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index 5b461362b..b3ca5fef2 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -51,7 +51,7 @@ class ModuleSajoin : public Module ModuleSajoin() { Srv = new Server; - Srv->AddCommand("SAJOIN",handle_sajoin,'o',2); + Srv->AddCommand("SAJOIN",handle_sajoin,'o',2,"m_sajoin.so"); } virtual ~ModuleSajoin() diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index 6a2499f12..624f0483b 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -62,9 +62,7 @@ class ModuleSaMode : public Module ModuleSaMode() { Srv = new Server; - Srv->Log(DEBUG,"SAMODE: Pre-add cmd"); - Srv->AddCommand("SAMODE",handle_samode,'o',2); - Srv->Log(DEBUG,"SAMODE: Post-add cmd"); + Srv->AddCommand("SAMODE",handle_samode,'o',2,"m_samode.so"); } virtual ~ModuleSaMode() diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp index 053f59828..65de14250 100644 --- a/src/modules/m_sanick.cpp +++ b/src/modules/m_sanick.cpp @@ -46,7 +46,7 @@ class ModuleSanick : public Module ModuleSanick() { Srv = new Server; - Srv->AddCommand("SANICK",handle_sanick,'o',2); + Srv->AddCommand("SANICK",handle_sanick,'o',2,"m_sanick.so"); } virtual ~ModuleSanick() diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp index fb15d2cf8..e4b36b035 100644 --- a/src/modules/m_sapart.cpp +++ b/src/modules/m_sapart.cpp @@ -50,7 +50,7 @@ class ModuleSapart : public Module ModuleSapart() { Srv = new Server; - Srv->AddCommand("SAPART",handle_sapart,'o',2); + Srv->AddCommand("SAPART",handle_sapart,'o',2,"m_sapart.so"); } virtual ~ModuleSapart() diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp index 9996f2044..5221f38ea 100644 --- a/src/modules/m_saquit.cpp +++ b/src/modules/m_saquit.cpp @@ -58,7 +58,7 @@ class ModuleSaquit : public Module ModuleSaquit() { Srv = new Server; - Srv->AddCommand("SAQUIT",handle_saquit,'o',2); + Srv->AddCommand("SAQUIT",handle_saquit,'o',2,"m_saquit.so"); } virtual ~ModuleSaquit() diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index ba5e3319b..dd60e5766 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -48,7 +48,7 @@ class ModuleSetHost : public Module ModuleSetHost() { Srv = new Server; - Srv->AddCommand("SETHOST",handle_sethost,'o',1); + Srv->AddCommand("SETHOST",handle_sethost,'o',1,"m_sethost.so"); } virtual ~ModuleSetHost() diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index 110afbe51..c1489876f 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -42,7 +42,7 @@ class ModuleSetName : public Module ModuleSetName() { Srv = new Server; - Srv->AddCommand("SETNAME",handle_setname,0,1); + Srv->AddCommand("SETNAME",handle_setname,0,1,"m_setname.so"); } virtual ~ModuleSetName() diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index e6cd730ac..a73ec757d 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -120,7 +120,7 @@ class ModuleSilence : public Module ModuleSilence() { Srv = new Server; - Srv->AddCommand("SILENCE",handle_silence,0,0); + Srv->AddCommand("SILENCE",handle_silence,0,0,"m_silence.so"); } virtual void OnUserQuit(userrec* user) diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp index 452160dd0..984283fc3 100644 --- a/src/modules/m_testcommand.cpp +++ b/src/modules/m_testcommand.cpp @@ -55,7 +55,7 @@ class ModuleTestCommand : public Module // 0 in the modes parameter signifies that // anyone can issue the command, and the // command takes only one parameter. - Srv->AddCommand("WOOT",handle_woot,0,0); + Srv->AddCommand("WOOT",handle_woot,0,0,"m_testcommand.so"); // Add a mode +Z for channels with no parameters Srv->AddExtendedMode('Z',MT_CHANNEL,false,1,0); |