forked from External/ergo
history replay enhancements
This commit is contained in:
parent
f3d138d909
commit
2c7c8fbaf9
18 changed files with 264 additions and 255 deletions
|
|
@ -189,7 +189,7 @@ func (channel *Channel) ApplyChannelModeChanges(client *Client, isSamode bool, c
|
|||
case modes.UserLimit:
|
||||
switch change.Op {
|
||||
case modes.Add:
|
||||
val, err := strconv.ParseUint(change.Arg, 10, 64)
|
||||
val, err := strconv.Atoi(change.Arg)
|
||||
if err == nil {
|
||||
channel.setUserLimit(val)
|
||||
applied = append(applied, change)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue