Skip to content
Permalink
Browse files

Fixed a bug where /block <user> would reset the block list size to 1 …

…instead of increasing its size.
  • Loading branch information...
nmbook committed Jun 16, 2013
1 parent cea179f commit 4c9b7a9af0d68d1a304b69ad7067a7bcb7ea3e3e
Showing with 1 addition and 1 deletion.
  1. +1 −1 trunk/modCommandsChat.bas
@@ -54,7 +54,7 @@ Public Sub OnBlock(Command As clsCommandObj)
If (CheckBlock(Command.Argument("Username"))) Then 'Should prevent adding filters that are the same as other filters
Command.Respond "That username is already in the block list, or is under a wildcard block."
Else
TotalString = ReadINI("TextFilters", "Total", FiltersPath)
TotalString = ReadINI("BlockList", "Total", FiltersPath)
If (LenB(TotalString) = 0) Then TotalString = "0"

If (StrictIsNumeric(TotalString)) Then

0 comments on commit 4c9b7a9

Please sign in to comment.
You can’t perform that action at this time.