mirror of
https://github.com/fluffle/goirc
synced 2025-05-19 05:53:20 +00:00
Fix bug found by MODE handler test.
This commit is contained in:
parent
c5146e93f6
commit
d15d1074f5
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ func (conn *Conn) h_MODE(line *Line) {
|
||||||
conn.error("irc.MODE(): buh? recieved MODE %s for (non-me) nick %s", line.Args[0], n.Nick)
|
conn.error("irc.MODE(): buh? recieved MODE %s for (non-me) nick %s", line.Args[0], n.Nick)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
conn.ParseNickModes(n, line.Args[0])
|
conn.ParseNickModes(n, line.Args[1])
|
||||||
} else {
|
} else {
|
||||||
conn.error("irc.MODE(): buh? not sure what to do with MODE %s", strings.Join(line.Args, " "))
|
conn.error("irc.MODE(): buh? not sure what to do with MODE %s", strings.Join(line.Args, " "))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue