summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-29 19:28:04 -0400
committerAdam <Adam@anope.org>2010-08-29 19:28:04 -0400
commitf2769273652f61f1d620c98a94b9c95983ed5647 (patch)
tree6d8c77e680258c095221d4ef98cf04845666d621 /include/modules.h
parentd70f1a43bc9520b3db22534fee07a047be4fa4d1 (diff)
Redo some of the sighandling code, and made anoperc rehash actually work.
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index ebe56df48..05a0bd1a8 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -659,9 +659,10 @@ class CoreExport Module : public virtual Base
virtual void OnShutdown() { }
/** Called on signal
+ * @param signum The signum
* @param msg The quitmsg
*/
- virtual void OnSignal(const Anope::string &msg) { }
+ virtual void OnSignal(int signum, const Anope::string &msg) { }
/** Called before a nick expires
* @param na The nick