summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index a954824..d822e0e 100644
--- a/handle.c
+++ b/handle.c
@@ -1061,7 +1061,7 @@ static bool isAction(struct Message *msg) {
 static bool isMention(const struct Message *msg) {
 	size_t len = strlen(self.nick);
 	const char *match = msg->params[1];
-	while (NULL != (match = strcasestr(match, self.nick))) {
+	while (NULL != (match = strstr(match, self.nick))) {
 		char a = (match > msg->params[1] ? match[-1] : ' ');
 		char b = (match[len] ?: ' ');
 		if ((isspace(a) || ispunct(a)) && (isspace(b) || ispunct(b))) {
or Tarmak 1June McEnroe 2017-06-06Rebind hnel in vim for Tarmak 1June McEnroe 2017-06-06Use C-space as tmux prefixJune McEnroe 2017-06-06Add Tarmak layoutsJune McEnroe 2017-05-26Rename keyboard layout ProgrammingJune McEnroe 2017-05-25Fix Library install conditionJune McEnroe 2017-05-25Revert "Remove macOS keyboard layout"June McEnroe 2017-05-08Fix copy mode bindings for tmux 2.4June McEnroe 2017-05-02Remove option unnecessary in nvim 0.2June McEnroe 2017-05-01Reorder lines in psqlrcJune McEnroe 2017-05-01Clean up Karabiner configurationJune McEnroe 2017-05-01Fix prune script loopJune McEnroe 2017-05-01Fix prune scriptJune McEnroe 2017-05-01Clean up SSH configJune McEnroe 2017-05-01Rename colorscheme "trivial"June McEnroe 2017-05-01Update vendored pathogenJune McEnroe 2017-05-01Clean up git configJune McEnroe 2017-05-01Clean up style in xxJune McEnroe 2017-05-01Clean up style in pbdJune McEnroe 2017-05-01Use EX_OK in pbcopyJune McEnroe 2017-04-30Clean up clockJune McEnroe 2017-04-30Clean up error strings in briJune McEnroe 2017-03-18Add -u option to xxJune McEnroe 2017-03-15Fix non-string-literal-format-string in briJune McEnroe 2017-03-15Fix bri compilationJune McEnroe 2017-03-15Use psvar for title settingJune McEnroe 2017-03-14Add bri brightness control scriptJune McEnroe 2017-03-14Add comment to tmux terminal overrideJune McEnroe 2017-03-13Have tmux set block cursor on linux consoleJune McEnroe 2017-03-13Use inverse for Visual in colorschemeJune McEnroe