From 6f136674e9cccb1c3518ad5620980902f59337e0 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 16 Feb 2002 13:32:53 +0000 Subject: [PATCH] Removed useless casting. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2483 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/chat-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/chat-commands.c b/src/core/chat-commands.c index 8b1b3738..933cc3f5 100644 --- a/src/core/chat-commands.c +++ b/src/core/chat-commands.c @@ -324,7 +324,7 @@ static void cmd_msg(const char *data, SERVER_REC *server, WI_ITEM_REC *item) return; if (*target == '\0' || *msg == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS); - server = cmd_options_get_server("msg", optlist, SERVER(server)); + server = cmd_options_get_server("msg", optlist, server); if (server == NULL || !server->connected) cmd_param_error(CMDERR_NOT_CONNECTED);