Skip to content

Instantly share code, notes, and snippets.

@hirthwork
hirthwork / AsyncCloseableIOSession.java
Created November 12, 2014 10:26
Asynchronous IOSession closing
package org.apache.http.impl.nio.reactor;
import java.io.IOException;
import java.nio.channels.ByteChannel;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
--- a/mcabber/doc/help/en/hlp.txt
+++ b/mcabber/doc/help/en/hlp.txt
@@ -3,4 +3,4 @@
Display some help about a command or a topic.
If no argument provided a usage of this command is printed.
-Available commands: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
+Available commands: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, spellcheck_disable, spellcheck_enable, status_to, status, version.
--- /dev/null
+++ b/mcabber/doc/help/en/hlp_spellcheck_disable.txt
--- a/mcabber/mcabber/screen.c
+++ b/mcabber/mcabber/screen.c
@@ -186,14 +186,19 @@
#define SPELLBADCHAR 5
+#if defined(WITH_ENCHANT) || defined(WITH_ASPELL)
+typedef struct {
#ifdef WITH_ENCHANT
-EnchantBroker *spell_broker;