git.samba.org
/
jelmer
/
ctrlproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772b1b3
)
Fix addition of : for PART and TOPIC.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 13 Apr 2009 11:54:25 +0000
(13:54 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 13 Apr 2009 11:54:25 +0000
(13:54 +0200)
libirc/line.c
patch
|
blob
|
history
diff --git
a/libirc/line.c
b/libirc/line.c
index 9b9bdbdf58f204d6f9823ea7118eb5542c9fdf0c..1839b8a42b74bba4b461966b309934f90b2a53d5 100644
(file)
--- a/
libirc/line.c
+++ b/
libirc/line.c
@@
-215,7
+215,7
@@
static gboolean requires_colon(const struct irc_line *l)
return FALSE;
if (!g_strcasecmp(l->args[0], "PART") || !g_strcasecmp(l->args[0], "TOPIC")) {
-
return (strchr(l->args[l->argc-1], ' ') != NULL
);
+
return (l->argc > 2
);
}
switch(c) {