summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-26 00:38:14 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-26 00:38:14 +0000
commitabc7e83c62cb0667b7c1ca1ee2d8a5aea4383e01 (patch)
tree0030b4ca0b862898fcf952c5b623ad18069a0809 /src/inspircd.cpp
parent8e0bac0584f6d4b9e458e70344c54f409f10856f (diff)
Fixed bug in /mode #channel when +k is set
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@732 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 064259c06..979493fa4 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -1122,6 +1122,7 @@ char* chanmodes(chanrec *chan)
}
if (strcmp(chan->key,""))
{
+ strncat(sparam," ",MAXBUF);
strncat(sparam,chan->key,MAXBUF);
}
if (chan->limit)