mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Use server buffer if name is unspecified in State.getBuffer
This commit is contained in:
parent
41354d3035
commit
5fcbfa446c
1 changed files with 3 additions and 0 deletions
3
state.js
3
state.js
|
@ -187,6 +187,9 @@ export const State = {
|
|||
if (!serverID) {
|
||||
serverID = State.getActiveServerID(state);
|
||||
}
|
||||
if (!name) {
|
||||
name = SERVER_BUFFER;
|
||||
}
|
||||
|
||||
var cm = irc.CaseMapping.RFC1459;
|
||||
var server = state.servers.get(serverID);
|
||||
|
|
Loading…
Reference in a new issue