Skip to content

Commit

Permalink
Fix /help message adding a trailing period to the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrezm committed Dec 10, 2021
1 parent 7493dde commit 6c95ab4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -689,4 +689,7 @@

### 211023a (4.3.0-post3)
* Removed leftover timer creation code
* Fixed passwords in `config.yaml` being erroneously casted to wrong types when possible
* Fixed passwords in `config.yaml` being erroneously casted to wrong types when possible

### 211210a (4.3.0-post4)
* Fixed /help message adding a trailing period to the URL
4 changes: 2 additions & 2 deletions server/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -2844,8 +2844,8 @@ def ooc_cmd_help(client: ClientManager.Client, arg: str):
"""

if not arg:
url = 'https://github.com/Chrezm/TsuserverDR'
help_msg = ('Available commands, source code and issues can be found here: {}. If you are '
url = 'https://github.com/Chrezm/TsuserverDR#commands'
help_msg = ('Available commands, source code and issues can be found here: {} . If you are '
'looking for help with a specific command, do /help <command_name>'.format(url))
client.send_ooc(help_msg)
return
Expand Down
4 changes: 2 additions & 2 deletions server/tsuserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def __init__(self, protocol: AOProtocol = None,
self.release = 4
self.major_version = 3
self.minor_version = 0
self.segment_version = 'post3'
self.internal_version = '211023a'
self.segment_version = 'post4'
self.internal_version = '211210a'
version_string = self.get_version_string()
self.software = 'TsuserverDR {}'.format(version_string)
self.version = 'TsuserverDR {} ({})'.format(version_string, self.internal_version)
Expand Down

0 comments on commit 6c95ab4

Please sign in to comment.