diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-16 13:32:53 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-16 13:32:53 +0000 |
commit | 6f136674e9cccb1c3518ad5620980902f59337e0 (patch) | |
tree | a417f35e4cffe128a19ae76658ce6649f51afb97 /src/core | |
parent | 94ff33d2c40ba198de5936e2669b25b68436fe87 (diff) | |
download | irssi-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.c | 2 |
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); |