summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index e17c8b272..8085ef052 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -515,9 +515,9 @@ class CoreExport Module
/** Called after a user changed the nick
* @param u The user.
- * @param oldnick the old nick of the user
+ * @param oldnick The old nick of the user
*/
- virtual void OnUserNickChange(User *u, const char *oldnick) { }
+ virtual void OnUserNickChange(User *u, const std::string &oldnick) { }
/** Called immediatly when a user tries to run a command
* @param service The service