git.99rst.org
/
znc-palaver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
316508f
)
fix: delete device when encountering 404
author
Kyle Fuller
<redacted>
Sun, 30 May 2021 21:21:34 +0000
(22:21 +0100)
committer
Kyle Fuller
<redacted>
Sun, 30 May 2021 21:21:34 +0000
(22:21 +0100)
palaver.cpp
patch
|
blob
|
history
diff --git
a/palaver.cpp
b/palaver.cpp
index 55287ab3e6b1b5fdafb428e291c501d82395e6b4..7bf6972a38b0dca10a802e02cdc3a3dd74c8cdf7 100644
(file)
--- a/
palaver.cpp
+++ b/
palaver.cpp
@@
-1322,7
+1322,7
@@
private:
};
void PLVHTTPNotificationSocket::HandleStatusCode(unsigned int status) {
- if (status == 401) {
+ if (status == 401
|| status == 404
) {
if (CPalaverMod *pModule = dynamic_cast<CPalaverMod *>(m_pModule)) {
DEBUG("palaver: Removing device");
pModule->RemoveDeviceWithIdentifier(m_sIdentifier);
git clone https://git.99rst.org/PROJECT