aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c
index ebcb6896..f6f95599 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -621,7 +621,7 @@ static void cmd_add( irc_t *irc, char **cmd )
}
if( add_on_server )
- a->ic->acc->prpl->add_buddy( a->ic, cmd[2], NULL );
+ a->prpl->add_buddy( a->ic, cmd[2], NULL );
else
/* Only for add -tmp. For regular adds, this callback will
be called once the IM server confirms. */