mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
/topic's cmd_get_params() had wrong parameter count..
removed unused variable from netsplit.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@372 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2cb75b5eb2
commit
6fda8d1059
@ -390,7 +390,7 @@ static void cmd_topic(const char *data, IRC_SERVER_REC *server, WI_IRC_REC *item
|
||||
if (server == NULL || !server->connected || !irc_server_check(server))
|
||||
cmd_return_error(CMDERR_NOT_CONNECTED);
|
||||
|
||||
if (!cmd_get_params(data, &free_arg, 3 | PARAM_FLAG_OPTCHAN |
|
||||
if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTCHAN |
|
||||
PARAM_FLAG_OPTIONS | PARAM_FLAG_GETREST,
|
||||
item, "topic", &optlist, &channame, &topic))
|
||||
return;
|
||||
|
@ -191,7 +191,6 @@ NICK_REC *netsplit_find_channel(IRC_SERVER_REC *server, const char *nick, const
|
||||
int quitmsg_is_split(const char *msg)
|
||||
{
|
||||
char *host1, *host2, *p;
|
||||
void *free_arg;
|
||||
int ok;
|
||||
|
||||
g_return_val_if_fail(msg != NULL, FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user