diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-09 16:22:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-09 16:22:04 +0000 |
commit | 4d7116b3176f1b32374c6fe640b2cd2a0f4b62f6 (patch) | |
tree | 9b30be7d9960251b3cbe7b2d2ff343298b5c1e55 | |
parent | 27525b8e65c0908d3400f41cc5416d42c0362664 (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
-rw-r--r-- | src/mode.cpp | 2 |
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 */ |