summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/u_listmode.h3
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++)