diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-23 16:28:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-23 16:28:54 +0000 |
commit | a02baa51d398d6a06cbe6caebd1ab4901229fbb9 (patch) | |
tree | 850c42c263c279ab81f51db3f8e81a405080ba3a /include | |
parent | 4a4443c79bad2e5397140a8aea55d6cc6cadd1ab (diff) |
Fix unloading of modules that use u_listmode
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5533 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/u_listmode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h index 0e2f05103..d89362569 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -109,9 +109,10 @@ class ListModeBase : public ModeHandler if (el) { ServerInstance->Log(DEBUG,"Channel is extended with a list"); - irc::modestacker modestack(true); + irc::modestacker modestack(false); std::deque<std::string> stackresult; const char* mode_junk[MAXMODES+1]; + mode_junk[0] = channel->name; userrec* n = new userrec(ServerInstance); n->SetFd(FD_MAGIC_NUMBER); for(modelist::iterator it = el->begin(); it != el->end(); it++) |