summaryrefslogtreecommitdiff
path: root/include
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
parentd70f1a43bc9520b3db22534fee07a047be4fa4d1 (diff)
Redo some of the sighandling code, and made anoperc rehash actually work.
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
-rw-r--r--include/modules.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 5eb998b4a..11969707f 100644
--- a/include/config.h
+++ b/include/config.h
@@ -538,8 +538,6 @@ class ServerConfig
bool UsePrivmsg;
/* Services only respond to full PRIVMSG client@services.server.name messages */
bool UseStrictPrivMsg;
- /* Dump a core file if we crash */
- bool DumpCore;
/* Number of seconds between consecutive uses of the REGISTER command
* Not to be confused with NSRegDelay */
unsigned NickRegDelay;
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