summaryrefslogtreecommitdiff
path: root/src/channels.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-04-29 10:25:01 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-04-29 10:25:01 +0000
commit1397cfdcd33c6c5cdc2b2afec137d4ee38d5e01f (patch)
tree276d971a06b807b5ded6c8eea25bc90edcd34db4 /src/channels.c
parentb4d51711c9aed379928dec7999f2c4202571e282 (diff)
BUILD : 1.7.21 (1392) BUGS : NOTES : <Hal9000> fixes a potential crash in channels.c and does handle the TS on incoming FMODE in inspircd.11
git-svn-id: svn://svn.anope.org/anope/trunk@1392 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1107 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/channels.c')
-rw-r--r--src/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c
index 19d29a727..aec70dfe8 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -785,8 +785,8 @@ void do_sjoin(const char *source, int ac, char **av)
for (cu = c->users; cu; cu = cu->next) {
/* XXX */
cumodes[0] = "-ov";
- cumodes[1] = user->nick;
- cumodes[2] = user->nick;
+ cumodes[1] = cu->user->nick;
+ cumodes[2] = cu->user->nick;
chan_set_modes(source, c, 3, cumodes, 2);
}
if (c->ci && c->ci->bi) {