diff options
Diffstat (limited to '')
-rwxr-xr-x | bouncer/build.sh | 2 | ||||
-rwxr-xr-x | bouncer/build_static.sh | 2 | ||||
-rw-r--r-- | bouncer/core.h | 3 | ||||
-rw-r--r-- | bouncer/ircserver.cpp | 2 | ||||
-rw-r--r-- | python_client.py | 2 |
5 files changed, 7 insertions, 4 deletions
diff --git a/bouncer/build.sh b/bouncer/build.sh index be4826d..ea72e35 100755 --- a/bouncer/build.sh +++ b/bouncer/build.sh @@ -5,5 +5,5 @@ NETCODE="socketcommon.cpp client.cpp mobileclient.cpp server.cpp ircserver.cpp n SOURCES="$NETCODE main.cpp window.cpp dns.cpp ini.cpp richtext.cpp" FLAGS="-std=c++11 -DUSE_GNUTLS -lgnutls -pthread -g" -g++ -o binary/nb4 $FLAGS $SOURCES +g++ -o binary/vulpircd $FLAGS $SOURCES diff --git a/bouncer/build_static.sh b/bouncer/build_static.sh index 5807c1f..01b951c 100755 --- a/bouncer/build_static.sh +++ b/bouncer/build_static.sh @@ -5,5 +5,5 @@ NETCODE="socketcommon.cpp client.cpp mobileclient.cpp server.cpp ircserver.cpp n SOURCES="$NETCODE main.cpp window.cpp dns.cpp ini.cpp richtext.cpp" FLAGS="-static -static-libgcc -static-libstdc++ -std=c++11 -pthread" -g++ -o binary/nb4_static $FLAGS $SOURCES +g++ -o binary/vulpircd_static $FLAGS $SOURCES diff --git a/bouncer/core.h b/bouncer/core.h index 28b99f2..0f99d82 100644 --- a/bouncer/core.h +++ b/bouncer/core.h @@ -1,6 +1,9 @@ #ifndef CORE_H #define CORE_H +// CTCP version reply +#define VULPIRC_VERSION_STRING "VulpIRC 0.0.0" + // Set in build.sh //#define USE_GNUTLS diff --git a/bouncer/ircserver.cpp b/bouncer/ircserver.cpp index 652edeb..7ef6795 100644 --- a/bouncer/ircserver.cpp +++ b/bouncer/ircserver.cpp @@ -355,7 +355,7 @@ void IRCServer::lineReceivedEvent(char *line, int size) { if (strcmp(ctcpType, "VERSION") == 0) { char reply[1000]; snprintf(reply, sizeof(reply), - "NOTICE %s :\x01VERSION boop:boop:boop\x01", + "NOTICE %s :\x01VERSION " VULPIRC_VERSION_STRING "\x01", user.nick.c_str()); sendLine(reply); diff --git a/python_client.py b/python_client.py index 2f509bd..fc0ff9b 100644 --- a/python_client.py +++ b/python_client.py @@ -407,7 +407,7 @@ class MainWindow(QtWidgets.QMainWindow): def __init__(self, parent=None): QtWidgets.QMainWindow.__init__(self, parent) - self.setWindowTitle('Ninjifox\'s IRC Client Test') + self.setWindowTitle('VulpIRC Development Client') tb = self.addToolBar('Main') tb.addAction('Connect', self.handleConnect) |