summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-05-25 05:16:22 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-05-25 06:29:21 -0400
commit73f07add6cafb71c00965db988e7d292dc0488a9 (patch)
treef49a05142c34228f1770511945f821715a347f09
parente1c3a00ec0108a395f48ee509f67765488893166 (diff)
wip - housekeepingv0.5.1
-rw-r--r--bridgin.c1
-rwxr-xr-xinstall.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/bridgin.c b/bridgin.c
index 357c172..c2edac7 100644
--- a/bridgin.c
+++ b/bridgin.c
@@ -356,6 +356,7 @@ DBGchat(thisAccount , *sender , thisConv , *msg , *flags , thisBridgeName) ;
if (!isBridgeEnabled(thisBridgeName)) return FALSE ; // input channel bridge is disabled
if (*flags & PURPLE_MESSAGE_SEND) return FALSE ; // never relay unprefixed local chat
if (!(*flags & PURPLE_MESSAGE_RECV)) return FALSE ; // TODO: handle special message types
+ if (msg[0] == '\') return FALSE ; // ignore messages beginning with: '\'
prepareRelayChat(NICK_PREFIX , *sender , *msg) ;
relayMessage(thisBridgeName , thisConv) ; chatBufferClear() ;
diff --git a/install.sh b/install.sh
index f3e401d..3f25268 100755
--- a/install.sh
+++ b/install.sh
@@ -22,7 +22,7 @@ SUCCESS_MSG="compilation success"
FAILURE_MSG="compilation failure"
INSTALLING_MSG="installing to $HOME/.purple/plugins/"
NO_HOME_MSG='your $HOME environment var is not properly set'" - copy the file '$PLUGIN_OBJ' to YOUR_HOME_DIR/.purple/plugins/ or /usr/lib/purple-2/"
-NOLAUNCH="nolaunch"
+NOLAUNCH="--no-launch"
PIDGIN_BIN=`which pidgin`