Mercurial > pidgin
comparison src/protocols/irc/cmds.c @ 6376:05b488eda686
[gaim-migrate @ 6881]
because Paco-Paco said so.
I think this fixes crashes on /me
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 05 Aug 2003 16:32:27 +0000 |
parents | 8f94cce8faa5 |
children | e3be6b9744b7 |
comparison
equal
deleted
inserted
replaced
6375:72023626d5b8 | 6376:05b488eda686 |
---|---|
77 GaimConversation *convo; | 77 GaimConversation *convo; |
78 | 78 |
79 if (!args || !args[0] || !gc) | 79 if (!args || !args[0] || !gc) |
80 return 0; | 80 return 0; |
81 | 81 |
82 action = g_malloc(strlen(args[0]) + 9); | 82 action = g_malloc(strlen(args[0]) + 10); |
83 | 83 |
84 sprintf(action, "\001ACTION "); | 84 sprintf(action, "\001ACTION "); |
85 | 85 |
86 src = args[0]; | 86 src = args[0]; |
87 dst = action + 8; | 87 dst = action + 8; |