summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bridge/irc/irc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go
index c7b6f207..4d21754f 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -160,6 +160,8 @@ func (b *Birc) endNames(event *irc.Event) {
b.Remote <- config.Message{Username: b.Nick, Text: b.formatnicks(b.names[channel], continued), Channel: channel,
Origin: b.origin, Protocol: b.protocol, FullOrigin: b.FullOrigin()}
b.names[channel] = nil
+ b.i.ClearCallback(ircm.RPL_NAMREPLY)
+ b.i.ClearCallback(ircm.RPL_ENDOFNAMES)
}
func (b *Birc) handleNewConnection(event *irc.Event) {