mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
autolog: target name is now always lowercased with irc protocol.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1789 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c7f7ec4391
commit
eb9f1eb985
3 changed files with 7 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "module-formats.h"
|
||||
#include "signals.h"
|
||||
#include "commands.h"
|
||||
#include "chat-protocols.h"
|
||||
#include "servers.h"
|
||||
#include "levels.h"
|
||||
#include "misc.h"
|
||||
|
|
@ -414,6 +415,9 @@ static void autolog_open(SERVER_REC *server, const char *target)
|
|||
|
||||
'%' -> '%%' - so strftime() won't mess with them */
|
||||
fixed_target = escape_target(target);
|
||||
if (CHAT_PROTOCOL(server)->case_insensitive)
|
||||
g_strdown(fixed_target);
|
||||
|
||||
fname = parse_special_string(autolog_path, server, NULL,
|
||||
fixed_target, NULL, 0);
|
||||
g_free(fixed_target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue