{"action":"opened","issue":{"url":"https://api.github.com/repos/DarthGandalf/kvirc-issues/issues/39","labels_url":"https://api.github.com/repos/DarthGandalf/kvirc-issues/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/DarthGandalf/kvirc-issues/issues/39/comments","events_url":"https://api.github.com/repos/DarthGandalf/kvirc-issues/issues/39/events","html_url":"https://github.com/DarthGandalf/kvirc-issues/issues/39","id":97266673,"number":39,"title":"$chan.getflag problems with user with no flag","user":{"login":"DarthGandalf","id":325092,"avatar_url":"https://avatars.githubusercontent.com/u/325092?v=3","gravatar_id":"","url":"https://api.github.com/users/DarthGandalf","html_url":"https://github.com/DarthGandalf","followers_url":"https://api.github.com/users/DarthGandalf/followers","following_url":"https://api.github.com/users/DarthGandalf/following{/other_user}","gists_url":"https://api.github.com/users/DarthGandalf/gists{/gist_id}","starred_url":"https://api.github.com/users/DarthGandalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarthGandalf/subscriptions","organizations_url":"https://api.github.com/users/DarthGandalf/orgs","repos_url":"https://api.github.com/users/DarthGandalf/repos","events_url":"https://api.github.com/users/DarthGandalf/events{/privacy}","received_events_url":"https://api.github.com/users/DarthGandalf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-25T23:30:14Z","updated_at":"2015-07-25T23:30:14Z","closed_at":null,"body":"**Reported by ruuk on 26 Oct 2007 10:55:42 UTC**\n$chan.getflag, as far as I can tell, seems to return a null character \r\nwhen there is no flag for the nick. In any case when I try \r\n$str.find(\"!@%+-\",$chan.getflag(nick)) kvirc crashes\r\n\n\n---\nMigrated from: https://svn.kvirc.de/kvirc/ticket/39"}}