summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-02 22:59:27 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-02 22:59:27 +0000
commit48ef6617acff38cdce32233d447c4317b61ab048 (patch)
treec13b67f905da74fe8c4f446ef6cc43aa2039fb60 /src/main.c
parentef400fa6dc98f8be74a37725beb3ef67405d458c (diff)
Remove capability for commands to hook existing commands, add an OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code.
NOTE: This will break some stuff. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 0abc2f360..dad8cb4f8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -91,7 +91,6 @@ const char version_build[] =
/* the space is needed cause if you build with nothing it will complain */
const char version_flags[] = " " VER_OS VER_MYSQL VER_MODULE;
-extern char *mod_current_buffer;
/******** Local variables! ********/
@@ -211,8 +210,6 @@ static void services_shutdown()
ircdproto->SendSquit(ServerName, quitmsg);
if (uplink)
delete [] uplink;
- if (mod_current_buffer)
- delete [] mod_current_buffer;
if (ircd->chanmodes) {
delete [] ircd->chanmodes;
}