summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-09 16:22:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-09 16:22:04 +0000
commit4d7116b3176f1b32374c6fe640b2cd2a0f4b62f6 (patch)
tree9b30be7d9960251b3cbe7b2d2ff343298b5c1e55 /src/mode.cpp
parent27525b8e65c0908d3400f41cc5416d42c0362664 (diff)
Reset LastParse string when we try to parse new modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5188 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 27fcf6d5b..bddd6cc31 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -271,6 +271,8 @@ void ModeParser::Process(const char** parameters, int pcnt, userrec *user, bool
ServerInstance->Log(DEBUG,"ModeParser::Process start");
+ LastParse = "";
+
/* Special case for displaying the list for listmodes,
* e.g. MODE #chan b, or MODE #chan +b without a parameter
*/