Fix (lack of) access requirement for !ops

This commit is contained in:
raylu 2011-04-11 16:25:07 -04:00
parent 3fd23e765a
commit abdcdf56e8
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ func appendtopic(conn *irc.Conn, nick *irc.Nick, args, target string) {
}
func part(conn *irc.Conn, nick *irc.Nick, args, target string) {
channel, args := parseChannel(target, args)
channel, _ := parseChannel(target, args)
if channel == "" {
return
}
@ -254,7 +254,7 @@ func part(conn *irc.Conn, nick *irc.Nick, args, target string) {
}
func highlightOps(conn *irc.Conn, nick *irc.Nick, args, target string) {
channel, args := parseAccess(conn, nick, target, args, "t")
channel, _ := parseChannel(target, args)
if channel == "" {
return
}