mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
source cleanup: remove trailing whitespaces
This commit is contained in:
parent
503cbeb330
commit
51239925ec
44 changed files with 92 additions and 92 deletions
|
|
@ -60,7 +60,7 @@ static void sig_message_dcc_own_action(CHAT_DCC_REC *dcc, const char *msg)
|
|||
format_create_dest_tag(&dest, dcc->server, dcc->servertag, tag,
|
||||
MSGLEVEL_DCCMSGS | MSGLEVEL_ACTIONS |
|
||||
MSGLEVEL_NOHILIGHT | MSGLEVEL_NO_ACT, NULL);
|
||||
|
||||
|
||||
printformat_dest(&dest, query != NULL ? IRCTXT_OWN_DCC_ACTION_QUERY :
|
||||
IRCTXT_OWN_DCC_ACTION, dcc->mynick, dcc->id, msg);
|
||||
g_free(tag);
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ static void event_who(IRC_SERVER_REC *server, const char *data)
|
|||
while (*realname != '\0' && *realname != ' ') realname++;
|
||||
if (*realname == ' ')
|
||||
*realname++ = '\0';
|
||||
|
||||
|
||||
recoded = recode_in(SERVER(server), realname, nick);
|
||||
printformat(server, NULL, MSGLEVEL_CRAP, IRCTXT_WHO,
|
||||
channel, nick, stat, hops, user, host, recoded, serv);
|
||||
|
|
|
|||
|
|
@ -115,9 +115,9 @@ static void cmd_notice(const char *data, IRC_SERVER_REC *server,
|
|||
|
||||
if (*target == '\0' || *msg == '\0')
|
||||
cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
|
||||
|
||||
|
||||
signal_emit("message irc own_notice", 3, server, msg, target);
|
||||
|
||||
|
||||
cmd_params_free(free_arg);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ static void sig_message_own_public(SERVER_REC *server, const char *msg,
|
|||
g_free(nickmode);
|
||||
signal_stop();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* received msg to all ops in channel */
|
||||
|
|
@ -201,7 +201,7 @@ static void sig_message_irc_action(IRC_SERVER_REC *server, const char *msg,
|
|||
IRCTXT_ACTION_PRIVATE_QUERY,
|
||||
nick, address == NULL ? "" : address, msg);
|
||||
}
|
||||
|
||||
|
||||
g_free_not_null(freemsg);
|
||||
}
|
||||
|
||||
|
|
@ -219,7 +219,7 @@ static void sig_message_irc_notice(SERVER_REC *server, const char *msg,
|
|||
{
|
||||
const char *oldtarget;
|
||||
int level = MSGLEVEL_NOTICES;
|
||||
|
||||
|
||||
oldtarget = target;
|
||||
target = skip_target(IRC_SERVER(server), target);
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ static void sig_server_add_fill(IRC_SERVER_SETUP_REC *rec,
|
|||
char *value;
|
||||
|
||||
value = g_hash_table_lookup(optlist, "network");
|
||||
/* For backwards compatibility, also allow the old name 'ircnet'.
|
||||
/* For backwards compatibility, also allow the old name 'ircnet'.
|
||||
But of course only if -network was not given. */
|
||||
if (!value)
|
||||
value = g_hash_table_lookup(optlist, "ircnet");
|
||||
|
|
@ -121,7 +121,7 @@ static void cmd_server_list(const char *data)
|
|||
g_string_append_printf(str, "ssl_cafile: %s, ", rec->ssl_cafile);
|
||||
if (rec->ssl_capath)
|
||||
g_string_append_printf(str, "ssl_capath: %s, ", rec->ssl_capath);
|
||||
|
||||
|
||||
}
|
||||
if (rec->max_cmds_at_once > 0)
|
||||
g_string_append_printf(str, "cmdmax: %d, ", rec->max_cmds_at_once);
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ void fe_whois_init(void)
|
|||
|
||||
signal_add("event 311", (SIGNAL_FUNC) event_whois);
|
||||
signal_add("event 312", (SIGNAL_FUNC) event_whois_server);
|
||||
/* readding this events fixes the printing of /whois -yes *
|
||||
/* readding this events fixes the printing of /whois -yes *
|
||||
Bug http://bugs.irssi.org/?do=details&id=123 */
|
||||
signal_add("event 317", (SIGNAL_FUNC) event_whois_idle);
|
||||
signal_add("event 319", (SIGNAL_FUNC) event_whois_channels);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue