mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Use g_ascii_str{,n}casecmp for case insensitive comparison with
ascii only strings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
496d82ac48
commit
7df46597e1
22 changed files with 63 additions and 63 deletions
|
|
@ -71,7 +71,7 @@ static void sig_unknown_command(IRC_SERVER_REC *server, const char *data)
|
|||
g_return_if_fail(data != NULL);
|
||||
|
||||
params = event_get_params(data, 2, NULL, &cmd);
|
||||
if (g_strcasecmp(cmd, "PING") == 0) {
|
||||
if (g_ascii_strcasecmp(cmd, "PING") == 0) {
|
||||
/* some servers have disabled PING command, don't bother
|
||||
trying alternative methods to detect lag with these
|
||||
servers. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue