aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-24 08:39:20 +0000
committerGravatar jesopo2019-02-24 08:39:20 +0000
commit77ab4707b23753181142efb3a571de488bb5da49 (patch)
tree4a20a3ef47d95b6ad5907d5d6444e6bf88dffb5d /modules
parentChange --verbose short to -V, add --version/-v, add IRCBot.VERSION (diff)
signature
Send IRCBot.VERSION on a CTCP VERSION (ctcp.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/ctcp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ctcp.py b/modules/ctcp.py
index 339ac354..484d221e 100644
--- a/modules/ctcp.py
+++ b/modules/ctcp.py
@@ -1,7 +1,7 @@
import datetime
-from src import ModuleManager, utils
+from src import IRCBot, ModuleManager, utils
-VERSION_DEFAULT = "BitBot (https://git.io/bitbot)"
+VERSION_DEFAULT = "BitBot %s (https://git.io/bitbot)" % IRCBot.VERSION
SOURCE_DEFAULT = "https://git.io/bitbot"
@utils.export("serverset", {"setting": "ctcp-responses",