]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Tons more docs
[user/henk/code/inspircd.git] / include / modules.h
index 9ca7eab5e898ef489548f39efce5e3bc1132e22d..5f78156059829fb1e86ebc8965d33505f3aa0dab 100644 (file)
@@ -97,7 +97,7 @@ typedef std::map<std::string,Module*> featurelist;
                } \
                catch (ModuleException& modexcept) \
                { \
-                       log(DEBUG,"Module exception caught: %s",modexcept.GetReason()); \
+                       ServerInstance->Log(DEBUG,"Module exception caught: %s",modexcept.GetReason()); \
                } \
        } \
   }
@@ -111,7 +111,7 @@ typedef std::map<std::string,Module*> featurelist;
                } \
                catch (ModuleException& modexcept) \
                { \
-                       log(DEBUG,"Module exception caught: %s",modexcept.GetReason()); \
+                       z->Log(DEBUG,"Module exception caught: %s",modexcept.GetReason()); \
                } \
        } \
 }
@@ -134,7 +134,7 @@ typedef std::map<std::string,Module*> featurelist;
                                } \
                                catch (ModuleException& modexcept) \
                                { \
-                                       log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \
+                                       ServerInstance->Log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \
                                } \
                        } \
                } \
@@ -155,7 +155,7 @@ typedef std::map<std::string,Module*> featurelist;
                                } \
                                catch (ModuleException& modexcept) \
                                { \
-                                       log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \
+                                       z->Log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \
                                } \
                        } \
                } \