mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-04-12 05:34:34 -04: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…
Add table
Reference in a new issue