summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-04-23 22:56:32 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-04-23 22:57:10 -0300
commit5db6958f0782e65758c4b249e2ea8d9e3a210e89 (patch)
tree9f1a13c039dae6230692679860bd5967fe256cc5
parentc64496741b1c9b0c5e1c5cb35e9ead95e2f8dc33 (diff)
Add note about init message
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index abf0eff..128209d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "hexchat-unsafe-plugin"
-version = "2.0.0"
+version = "2.0.1"
 authors = ["SoniEx2 <endermoneymod@gmail.com>"]
 description = "Lets you write native HexChat plugins in mostly-safe Rust"
 license = "GPL-3.0-or-later"
diff --git a/src/lib.rs b/src/lib.rs
index 356a3fa..22e7ce5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1725,6 +1725,7 @@ pub unsafe fn hexchat_plugin_init<'ph, T>(plugin_handle: LtPhPtr<'ph>,
             return 0;
         }
     }
+    // we got banned from an IRC network over the following line of code.
     hexchat_print_str(ph, "hexchat-unsafe-plugin  Copyright (C) 2018, 2021, 2022 Soni L.  GPL-3.0-or-later  This software is made with love by a queer trans person.", false);
     let mut pluginfo = if let Some(pluginfo) = PluginInfo::new(plugin_name, plugin_desc, plugin_version) {
         pluginfo