diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-06 19:20:48 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-06 19:20:48 +0000 |
commit | 6946412b758e48367e3a8c636f3204f83446041d (patch) | |
tree | 2946aaeec811fb000f5fe265b50f46dd336d530d /src | |
parent | b9aeca470819133ff45ff978c066897b2b60c4cc (diff) |
Remove unused mod_current_evtbuf.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1561 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/events.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/events.c b/src/events.c index 04229a0d4..e7f9b7bce 100644 --- a/src/events.c +++ b/src/events.c @@ -15,8 +15,6 @@ #include "language.h" #include "version.h" -char *mod_current_evtbuffer = NULL; - EvtMessageHash *EVENT[MAX_CMD_HASH]; EvtHookHash *EVENTHOOKS[MAX_CMD_HASH]; @@ -151,9 +149,7 @@ void event_process_hook(const char *name, int argc, char **argv) int retVal = 0; EvtHook *current = NULL; EvtHook *evh; - if (mod_current_evtbuffer) { - free(mod_current_evtbuffer); - } + /* Do something with the message. */ evh = find_eventhook(name); if (evh) { |