diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-09 13:12:12 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-09 13:12:12 +0000 |
commit | 7290f0f1abbbb50e83ea0ab0e050839aebccb8eb (patch) | |
tree | 00ac3c529560448be65118936602f42ef83b3f26 /src/irc/irc-recv.c | |
parent | 0093bf08497b22a23778822111c4ef86c744fa81 (diff) | |
download | weechat-7290f0f1abbbb50e83ea0ab0e050839aebccb8eb.zip |
Fixed bug with $nick/$channel/$server variables in commands
Diffstat (limited to 'src/irc/irc-recv.c')
-rw-r--r-- | src/irc/irc-recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index b1d1b9e94..688444840 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -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) |