From 5db6958f0782e65758c4b249e2ea8d9e3a210e89 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sat, 23 Apr 2022 22:56:32 -0300 Subject: Add note about init message --- Cargo.toml | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 "] 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 -- cgit 1.4.1