diff options
| author | 2008-04-21 18:12:50 +0000 | |
|---|---|---|
| committer | 2008-04-21 18:12:50 +0000 | |
| commit | 260e132d231a805b34fb5b3ef773cc303819f727 (patch) | |
| tree | f59df2d67642e9ecace0a102dd5a26c11ce8a2c4 /src/mode.cpp | |
| parent | Don't memset a vector. backport of fix for possible stack corruption by a mem... (diff) | |
Uh, put it back. :p
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9571 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 74a0dae86..2949dcbfb 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -1064,7 +1064,7 @@ ModeParser::ModeParser(InspIRCd* Instance) : ServerInstance(Instance) /* Clear mode list */ memset(modehandlers, 0, sizeof(modehandlers)); - modewatchers.clear(); + memset(modewatchers, 0, sizeof(modewatchers)); /* Last parse string */ LastParse.clear(); |
