]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_opermotd.cpp
Updated to keep lowermap const within hashcomp.cpp
[user/henk/code/inspircd.git] / src / modules / m_opermotd.cpp
index ef2ad89e7237e487907b14b70f89e17866972b89..d52bb01621976a306cb238d0458a9b467226eae3 100644 (file)
@@ -4,6 +4,7 @@
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
+#include "helperfuncs.h"
 
 /* $ModDesc: Shows a message to opers after oper-up, adds /opermotd */
 
@@ -58,7 +59,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();
@@ -73,7 +74,7 @@ class ModuleOpermotd : public Module {
 
                virtual Version GetVersion() {
 
-                       return Version(1,0,0,1);
+                       return Version(1,0,0,1,VF_VENDOR);
 
                }