summaryrefslogtreecommitdiff
path: root/src/process.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/process.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/process.c')
-rw-r--r--src/process.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/process.c b/src/process.c
index 6730981c4..b0a4bd728 100644
--- a/src/process.c
+++ b/src/process.c
@@ -351,16 +351,6 @@ void process()
alog("debug: av[0] = NULL");
}
- if (mod_current_buffer) {
- delete [] mod_current_buffer;
- }
-
- if (ac >= 1) {
- mod_current_buffer = (ac > 1 ? sstrdup(av[1]) : sstrdup(av[0]));
- } else {
- mod_current_buffer = NULL;
- }
-
/* Do something with the message. */
m = find_message(cmd);
if (m) {