mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Removed useless casting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2483 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
94ff33d2c4
commit
6f136674e9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user