summaryrefslogtreecommitdiff
path: root/src/protocol/plexus3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/plexus3.c')
-rw-r--r--src/protocol/plexus3.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/protocol/plexus3.c b/src/protocol/plexus3.c
index 745a73a6d..e245414be 100644
--- a/src/protocol/plexus3.c
+++ b/src/protocol/plexus3.c
@@ -609,6 +609,12 @@ anope_event_topic (char *source, int ac, char **av)
c->topic_time = topic_time;
record_topic (av[0]);
+
+ if (ac > 1 && *av[1])
+ send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]);
+ else
+ send_event(EVENT_TOPIC_UPDATED, 2, av[0], "");
+
}
return MOD_CONT;
}