diff options
Diffstat (limited to 'src/protocol/plexus2.c')
-rw-r--r-- | src/protocol/plexus2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/protocol/plexus2.c b/src/protocol/plexus2.c index 6c7f0f2b8..c4ad300af 100644 --- a/src/protocol/plexus2.c +++ b/src/protocol/plexus2.c @@ -666,6 +666,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; } |