mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
s/query_trace_nick_changes/query_track_nick_changes/ :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2378 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
77e866c542
commit
b2c92f3b4b
@ -50,7 +50,7 @@ static void event_privmsg(SERVER_REC *server, const char *data,
|
|||||||
g_return_if_fail(data != NULL);
|
g_return_if_fail(data != NULL);
|
||||||
|
|
||||||
if (nick == NULL || address == NULL || ischannel(*data) ||
|
if (nick == NULL || address == NULL || ischannel(*data) ||
|
||||||
!settings_get_bool("query_trace_nick_changes"))
|
!settings_get_bool("query_track_nick_changes"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
query = query_find(server, nick);
|
query = query_find(server, nick);
|
||||||
@ -66,7 +66,7 @@ static void event_privmsg(SERVER_REC *server, const char *data,
|
|||||||
|
|
||||||
void fe_irc_queries_init(void)
|
void fe_irc_queries_init(void)
|
||||||
{
|
{
|
||||||
settings_add_bool("lookandfeel", "query_trace_nick_changes", TRUE);
|
settings_add_bool("lookandfeel", "query_track_nick_changes", TRUE);
|
||||||
|
|
||||||
signal_add_first("event privmsg", (SIGNAL_FUNC) event_privmsg);
|
signal_add_first("event privmsg", (SIGNAL_FUNC) event_privmsg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user