summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-16 13:32:53 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-16 13:32:53 +0000
commit6f136674e9cccb1c3518ad5620980902f59337e0 (patch)
treea417f35e4cffe128a19ae76658ce6649f51afb97 /src/core
parent94ff33d2c40ba198de5936e2669b25b68436fe87 (diff)
downloadirssi-6f136674e9cccb1c3518ad5620980902f59337e0.zip
Removed useless casting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2483 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r--src/core/chat-commands.c2
1 files changed, 1 insertions, 1 deletions
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);