parent
87da44e583
commit
f19e1f6209
@ -533,13 +533,7 @@ static void do_log_privmsg(log_t *logdata, const char *storage, int src,
|
||||
void log_privmsg(log_t *logdata, const char *ircmask, const char *destination,
|
||||
const char *message)
|
||||
{
|
||||
if (!ischannel(*destination)) {
|
||||
char *nick = nick_from_ircmask(ircmask);
|
||||
do_log_privmsg(logdata, nick, 0, ircmask, message);
|
||||
free(nick);
|
||||
} else {
|
||||
do_log_privmsg(logdata, destination, 0, ircmask, message);
|
||||
}
|
||||
do_log_privmsg(logdata, destination, 0, ircmask, message);
|
||||
}
|
||||
|
||||
void log_cli_privmsg(log_t *logdata, const char *ircmask,
|
||||
|
Loading…
Reference in New Issue
Block a user