From a02baa51d398d6a06cbe6caebd1ab4901229fbb9 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 23 Oct 2006 16:28:54 +0000 Subject: Fix unloading of modules that use u_listmode git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5533 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/u_listmode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 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++) -- cgit v1.2.3