X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fclientutil.c;h=a8a1b5b7328e318b547ac8f36e3a2b9d86049c51;hb=79b406da2cc03883eb2da6c8c69ff2d7a9356df9;hp=9717d393519a2e2ce4c691159cd93fd2ade629e6;hpb=581d2aecadb68f43e70691001d772fe46b459e24;p=silc.git diff --git a/apps/irssi/src/silc/core/clientutil.c b/apps/irssi/src/silc/core/clientutil.c index 9717d393..a8a1b5b7 100644 --- a/apps/irssi/src/silc/core/clientutil.c +++ b/apps/irssi/src/silc/core/clientutil.c @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2006, 2008 Pekka Riikonen + Copyright (C) 1997 - 2014 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -545,7 +545,8 @@ SilcBool silc_keyboard_entry_redirect(SILC_KEYBOARD_PROMPT_PROC prompt_func, * assuming that it doesn't as there's already many other things that seem * to make this assumption. */ - *async = ctx->async_context; + if (async) + *async = ctx->async_context; /* * All done. Irssi will invoke the callback on this thread at a later point