mirror of
https://github.com/irssi/irssi.git
synced 2024-10-13 05:03:45 -04:00
Revert "Don't proceed with cmd_msg if there was an error splitting msg"
This reverts commit bd83852d646de28f2e0fe01efe7c9236aa4074d4.
This commit is contained in:
parent
73d7b9d775
commit
beb2beba3b
@ -404,10 +404,7 @@ static void cmd_msg(const char *data, SERVER_REC *server, WI_ITEM_REC *item)
|
|||||||
else
|
else
|
||||||
splitmsgs = singlemsg;
|
splitmsgs = singlemsg;
|
||||||
|
|
||||||
/* splitmsgs may be NULL if there was an error */
|
while ((m = splitmsgs[n++])) {
|
||||||
g_warn_if_fail(splitmsgs != NULL);
|
|
||||||
|
|
||||||
while (splitmsgs && (m = splitmsgs[n++])) {
|
|
||||||
signal_emit("server sendmsg", 4, server, target, m,
|
signal_emit("server sendmsg", 4, server, target, m,
|
||||||
GINT_TO_POINTER(target_type));
|
GINT_TO_POINTER(target_type));
|
||||||
signal_emit(target_type == SEND_TARGET_CHANNEL ?
|
signal_emit(target_type == SEND_TARGET_CHANNEL ?
|
||||||
|
Loading…
Reference in New Issue
Block a user