Implement case-mapping for buffers and message handler
This commit is contained in:
parent
e000832483
commit
fc9dfa2dca
2 changed files with 24 additions and 12 deletions
|
@ -434,6 +434,10 @@ export default class Client extends EventTarget {
|
|||
}
|
||||
}
|
||||
|
||||
isMyNick(nick) {
|
||||
return this.cm(nick) == this.cm(this.nick);
|
||||
}
|
||||
|
||||
/* Execute a command that expects a response. `done` is called with message
|
||||
* events until it returns a truthy value. */
|
||||
roundtrip(msg, done) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue