From 5ba06b20cc64826aaecb0d4bee943fcfabd9b86e Mon Sep 17 00:00:00 2001 From: om Date: Wed, 15 Mar 2006 01:09:59 +0000 Subject: Comment one of w00tie's comments, fix typo in log message, and make it look like I ctually was active today... :> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3715 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 01462d47c..67cd3cca9 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -102,7 +102,7 @@ void ProcessUser(userrec* cu) } catch (ModuleException& modexcept) { - log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ + log(DEBUG,"Module exception caught: %s",modexcept.GetReason()); } if (MOD_RESULT < 0) @@ -136,6 +136,8 @@ void ProcessUser(userrec* cu) /* * XXX - potential replacement for the below using my beloved pointers. --w00t + * XXX - no garauntee there's not \0's in the middle of the data, + * and no reason for it to be terminated either. -- Om * * for (char *c = data; data && *data; data++) * { @@ -494,5 +496,3 @@ void LoadAllModules(InspIRCd* ServerInstance) log(DEFAULT,"Total loaded modules: %lu",(unsigned long)MODCOUNT+1); } - - -- cgit v1.2.3