diff options
author | Chandni Verma <chandniverma2112@gmail.com> | 2011-02-28 10:21:37 +0530 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-02-28 15:35:30 +0000 |
commit | 248444abb4a9af978e0795da2efbe3de7e15208b (patch) | |
tree | 3861a02439ec0befe49636c9a040cd4258d9b31e | |
parent | e521bae419cb485df241b60864edd842dca3b70d (diff) |
Add missing colon before PART message
This is required for trailing messages as per RFC 2812 sections
2.3.1 and 3.2.2
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34812
-rw-r--r-- | src/idle-muc-channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idle-muc-channel.c b/src/idle-muc-channel.c index 8ba09df..4a7b3ad 100644 --- a/src/idle-muc-channel.c +++ b/src/idle-muc-channel.c @@ -1737,7 +1737,7 @@ static void part_from_channel(IdleMUCChannel *obj, const gchar *msg) { priv = IDLE_MUC_CHANNEL_GET_PRIVATE(obj); if (msg != NULL) { - g_snprintf(cmd, IRC_MSG_MAXLEN + 1, "PART %s %s", priv->channel_name, msg); + g_snprintf(cmd, IRC_MSG_MAXLEN + 1, "PART %s :%s", priv->channel_name, msg); } else { g_snprintf(cmd, IRC_MSG_MAXLEN + 1, "PART %s", priv->channel_name); } |