1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

Fixed bug with $nick/$channel/$server variables in commands

This commit is contained in:
Sebastien Helleu
2007-05-09 13:12:12 +00:00
parent 0093bf0849
commit 7290f0f1ab
10 changed files with 38 additions and 40 deletions
+1 -1
View File
@@ -2419,7 +2419,7 @@ irc_cmd_recv_001 (t_irc_server *server, char *host, char *nick, char *arguments)
{
for (ptr = commands; *ptr; ptr++)
{
vars_replaced = alias_replace_vars (*ptr);
vars_replaced = alias_replace_vars (server, NULL, *ptr);
user_command (server, NULL,
(vars_replaced) ? vars_replaced : *ptr, 0);
if (vars_replaced)