Skip to content

Commit

Permalink
Fixed a critical typo related to costants
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavius12 committed Feb 15, 2018
1 parent 6b118e0 commit a76683d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ServerChannels
main: ServerChannels\ServerChannels
version: 2.0
version: 2.1
api: [3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11]
load: STARTUP
author: EvolSoft
Expand Down
2 changes: 1 addition & 1 deletion src/ServerChannels/Commands/Commands.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerChannels (v2.0) by EvolSoft
* ServerChannels (v2.1) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: https://www.evolsoft.tk
* Date: 14/02/2018 10:03 AM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion src/ServerChannels/EventListener.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerChannels (v2.0) by EvolSoft
* ServerChannels (v2.1) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: https://www.evolsoft.tk
* Date: 14/02/2018 10:03 AM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion src/ServerChannels/Events/ServerChannelsChatEvent.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerChannels (v2.0) by EvolSoft
* ServerChannels (v2.1) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: https://www.evolsoft.tk
* Date: 14/02/2018 10:03 AM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion src/ServerChannels/Events/ServerChannelsEvent.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerChannels (v2.0) by EvolSoft
* ServerChannels (v2.1) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: https://www.evolsoft.tk
* Date: 14/02/2018 10:03 AM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion src/ServerChannels/Events/ServerChannelsJoinEvent.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerChannels (v2.0) by EvolSoft
* ServerChannels (v2.1) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: https://www.evolsoft.tk
* Date: 14/02/2018 10:03 AM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion src/ServerChannels/Events/ServerChannelsLeaveEvent.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerChannels (v2.0) by EvolSoft
* ServerChannels (v2.1) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: https://www.evolsoft.tk
* Date: 14/02/2018 10:03 AM (UTC)
Expand Down
12 changes: 6 additions & 6 deletions src/ServerChannels/ServerChannels.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

/*
* ServerChannels (v2.0) by EvolSoft
* ServerChannels (v2.1) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: https://www.evolsoft.tk
* Date: 14/02/2018 10:03 AM (UTC)
* Date: 15/02/2018 12:50 AM (UTC)
* Copyright & License: (C) 2014-2018 EvolSoft
* Licensed under MIT (https://github.com/EvolSoft/ServerChannels/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -36,16 +36,16 @@ class ServerChannels extends PluginBase {
const SUCCESS = 1;

/** @var int */
const ERR_WRONG_PASS = 1;
const ERR_WRONG_PASS = 2;

/** @var int */
const ERR_NOT_WHITELISTED = 2;
const ERR_NOT_WHITELISTED = 3;

/** @var int */
const ERR_CHANNEL_NOT_FOUND = 3;
const ERR_CHANNEL_NOT_FOUND = 4;

/** @var int */
const ERR_NO_CHANNEL = 4;
const ERR_NO_CHANNEL = 5;

/** @var int */
const AUTH_NONE = 0;
Expand Down

0 comments on commit a76683d

Please sign in to comment.