mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-05 10:42:33 +01:00
sync with fishlim head
This commit is contained in:
parent
38a42ed519
commit
18404054b0
@ -23,7 +23,7 @@ fishlim.so: $(PLUGIN_OBJECTS)
|
||||
$(CC) -shared $(OURLINKFLAGS) $(PLUGIN_OBJECTS) -o $@
|
||||
|
||||
test: $(TEST_OBJECTS)
|
||||
$(CC) $(OURLINKFLAGS) $(TEST_OBJECTS) -o $@
|
||||
$(CC) $(TEST_OBJECTS) -o $@ $(OURLINKFLAGS)
|
||||
|
||||
|
||||
.PHONY: all clean distclean install uninstall
|
||||
|
@ -164,8 +164,8 @@ bool keystore_store_key(const char *nick, const char *key) {
|
||||
encrypted = fish_encrypt(password, strlen(password), key);
|
||||
if (!encrypted) goto end;
|
||||
|
||||
// Prepend "OK+ "
|
||||
wrapped = g_strconcat("OK+ ", encrypted, NULL);
|
||||
// Prepend "+OK "
|
||||
wrapped = g_strconcat("+OK ", encrypted, NULL);
|
||||
g_free(encrypted);
|
||||
|
||||
// Store encrypted in file
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
static const char plugin_name[] = "FiSHLiM";
|
||||
static const char plugin_desc[] = "Encryption plugin for the FiSH protocol. Less is More!";
|
||||
static const char plugin_version[] = "0.0.14";
|
||||
static const char plugin_version[] = "0.0.15";
|
||||
|
||||
static const char usage_setkey[] = "Usage: SETKEY [<nick or #channel>] <password>, sets the key for a channel or nick";
|
||||
static const char usage_delkey[] = "Usage: DELKEY <nick or #channel>, deletes the key for a channel or nick";
|
||||
|
Loading…
Reference in New Issue
Block a user