diff options
author | Jonathan Liu | 2018-05-31 22:25:41 +1000 |
---|---|---|
committer | Jonathan Liu | 2018-05-31 22:25:41 +1000 |
commit | 062509b1b7fa30d60571470781f04b11462950df (patch) | |
tree | 06f097dd9649cdcbfac3f8ea862f01759ea40c2c /version.patch | |
parent | 067367b9e0b2a309b15e4f24b6b91cc01ce8fdeb (diff) | |
download | aur-062509b1b7fa30d60571470781f04b11462950df.tar.gz |
Update to r71.87b1d6b-1
Diffstat (limited to 'version.patch')
-rw-r--r-- | version.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/version.patch b/version.patch new file mode 100644 index 000000000000..5edbe7e116c0 --- /dev/null +++ b/version.patch @@ -0,0 +1,20 @@ +--- a/palaver.cpp ++++ b/palaver.cpp +@@ -30,6 +30,8 @@ + #error "Palaver ZNC Modules requires ZNC 1.6 or newer." + #endif + ++#define STR(x) #x ++ + + const char *kPLVCapability = "palaverapp.com"; + const char *kPLVCommand = "PALAVER"; +@@ -1209,7 +1211,7 @@ public: + PutModule("Be sure to include all information from this command so we can try and debug any issues."); + PutModule("--"); + +- PutModule("Palaver ZNC: " + CString(PALAVER_VERSION) + " -- http://palaverapp.com/"); ++ PutModule("Palaver ZNC: " + CString(STR(PALAVER_VERSION)) + " -- http://palaverapp.com/"); + CDevice *pDevice = DeviceForClient(*m_pClient); + if (pDevice) { + PutModule("Current device: (" + pDevice->GetToken() + ")"); |