From e7cb4cd2779d670c33aa13fbe2218cebe336d5fd Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Wed, 20 Jan 2010 00:12:39 +0100 Subject: [PATCH] remove extra space before !broadcast messages --- src/core/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/commands.c b/src/core/commands.c index 4669cf6..0e4faa2 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -399,8 +399,8 @@ static int command_whoip(struct hub_info* hub, struct hub_user* user, struct hub static int command_broadcast(struct hub_info* hub, struct hub_user* user, struct hub_command* cmd) { - struct adc_message* command = adc_msg_construct(ADC_CMD_IMSG, strlen((cmd->message + 10)) + 6); - adc_msg_add_argument(command, (cmd->message + 10)); + struct adc_message* command = adc_msg_construct(ADC_CMD_IMSG, strlen((cmd->message + 11)) + 6); + adc_msg_add_argument(command, (cmd->message + 11)); route_to_all(hub, command); adc_msg_free(command); return 0;