]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Add a pair of colons which should fix some KILL messages being dropped and fix some...
[user/henk/code/inspircd.git] / include / modules.h
index 2096bb6a5e539be6bddd8a1ab73a4ff69bcda077..e38acd5b471dcde835d346f1b2a97737b7d091f6 100644 (file)
@@ -81,7 +81,7 @@ enum MessageType {
  * ipv4 servers, so this value will be ten times as
  * high on ipv6 servers.
  */
-#define NATIVE_API_VERSION 11024
+#define NATIVE_API_VERSION 11025
 #ifdef IPV6
 #define API_VERSION (NATIVE_API_VERSION * 10)
 #else
@@ -129,7 +129,7 @@ typedef std::map<std::string, std::pair<int, modulelist> > interfacelist;
                } \
                catch (CoreException& modexcept) \
                { \
-                       ServerInstance->Log(DEFAULT,"Exception cought: %s",modexcept.GetReason()); \
+                       ServerInstance->Log(DEFAULT,"Exception caught: %s",modexcept.GetReason()); \
                } \
        } \
   }
@@ -149,7 +149,7 @@ typedef std::map<std::string, std::pair<int, modulelist> > interfacelist;
                } \
                catch (CoreException& modexcept) \
                { \
-                       z->Log(DEFAULT,"Exception cought: %s",modexcept.GetReason()); \
+                       z->Log(DEFAULT,"Exception caught: %s",modexcept.GetReason()); \
                } \
        } \
 }
@@ -172,7 +172,7 @@ typedef std::map<std::string, std::pair<int, modulelist> > interfacelist;
                                } \
                                catch (CoreException& modexcept) \
                                { \
-                                       ServerInstance->Log(DEFAULT,"Exception cought: %s",modexcept.GetReason()); \
+                                       ServerInstance->Log(DEFAULT,"Exception caught: %s",modexcept.GetReason()); \
                                } \
                        } \
                } \
@@ -198,7 +198,7 @@ typedef std::map<std::string, std::pair<int, modulelist> > interfacelist;
                                } \
                                catch (CoreException& modexcept) \
                                { \
-                                       z->Log(DEBUG,"Exception cought: %s",modexcept.GetReason()); \
+                                       z->Log(DEBUG,"Exception caught: %s",modexcept.GetReason()); \
                                } \
                        } \
                } \
@@ -1086,7 +1086,7 @@ class CoreExport Module : public Extensible
         * @param dest The user being killed
         * @param reason The kill reason
         */
-       virtual void OnRemoteKill(userrec* source, userrec* dest, const std::string &reason);
+       virtual void OnRemoteKill(userrec* source, userrec* dest, const std::string &reason, const std::string &operreason);
 
        /** Called whenever a module is loaded.
         * mod will contain a pointer to the module, and string will contain its name,