aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc.c b/src/irc.c
index d34fe8d..7611cef 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -14,6 +14,7 @@
#include "nio.h"
#include "config.h"
#include "indic8.h"
+#include "complete.h"
#ifndef VERSION
#define VERSION "?????"
@@ -504,6 +505,7 @@ void select_screen(void) {
if(!s) {
if(streq_i(msg_cmd, "PRIVMSG")) { /* or maybe NOTICE? */
strncpy(last_pm_nick, msg_src, 32);
+ comp_add_pm_nick(last_pm_nick);
s = SCR_PRIV;
} else {
s = SCR_SERVER;