Browse Source

Allows version to be used without a nick specified

tags/3.0.5
Teknikode 4 years ago
parent
commit
09bbb95b69
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Modules/Version/Version.cs

+ 1
- 1
Modules/Version/Version.cs View File

@@ -28,7 +28,7 @@ namespace Combot.Modules.Plugins

if (foundCommand.Name == "Version Check")
{
string nick = command.Arguments["Nickname"].ToString();
string nick = (command.Arguments.ContainsKey("Nickname")) ? command.Arguments["Nickname"].ToString() : command.Nick.Nickname;
List<string> nickList = nick.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).ToList();
for (int i = 0; i < nickList.Count; i++)
{

Loading…
Cancel
Save