Browse Source

modes: Also allow Voice

tags/v0.8.2
Daniel Oaks 7 years ago
parent
commit
b633db3c9d
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      irc/modes.go

+ 3
- 0
irc/modes.go View File

@@ -452,6 +452,9 @@ func ParseChannelModeChanges(params ...string) (ModeChanges, map[rune]bool) {
452 452
 					break
453 453
 				}
454 454
 			}
455
+			if mode == rune(Voice) {
456
+				isKnown = true
457
+			}
455 458
 			if !isKnown {
456 459
 				unknown[mode] = true
457 460
 				continue

Loading…
Cancel
Save