summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/irc-recv.c2
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)